package ylw.object.box;

import java.util.Date;

import io.objectbox.annotation.Entity;
import io.objectbox.annotation.Id;

@Entity
public class Note {
    
    @Id
    public long id;
    
    public String text;
    public String comment;
    public Date date;
    
    public Note(long id, String text, String comment, Date date) {
        this.id = id;
        this.text = text;
        this.comment = comment;
        this.date = date;
    }
    
    public Note() {
    }

    @Override
    public String toString() {
        return super.toString();
    }
}